package org.busalerter.domain;

/**
 * Created by IntelliJ IDEA.
 * <p/>
 * User: bethella
 * Date: 18/11/11
 * Time: 16:10
 */
public class BusTime {

    private String route;

    private String destination;

    private String etaText;

    private int etaMinutes;

    private boolean alertMe;

    public String getRoute() {
        return route;
    }

    public void setRoute(String route) {
        this.route = route;
    }

    public String getDestination() {
        return destination;
    }

    public void setDestination(String destination) {
        this.destination = destination;
    }

    public int getEtaMinutes() {
        return etaMinutes;
    }

    public void setEtaMinutes(int etaMinutes) {
        this.etaMinutes = etaMinutes;
    }

    public boolean isAlertMe() {
        return alertMe;
    }

    public void setAlertMe(boolean alertMe) {
        this.alertMe = alertMe;
    }

    public String getEtaText() {
        return etaText;
    }

    public void setEtaText(String etaText) {
        this.etaText = etaText;
    }

    public String getAlertText() {
        return (isAlertMe() ? "Alert" : "");
    }
}
